<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>第一个React应用程序</title>
  <script src="../react.js"></script>
  <script src="../react-dom.js"></script>
  <script src="../browser.min.js"></script>
  <script src="../babel.min.js"></script>
  <style type="text/css">
    #container {
      padding: 50px;
      background-color: #eee;
    }
    #container h1{
      font-size: 140px;
      color: #0080a8;
    }
  </style>
</head>
<body>
  <div id="container">
  </div>
  <script type="text/babel">
    // var destination = document.querySelector('#container')
    var destination = document.getElementById('container')
    ReactDOM.render(
      <h1>I am Tyler</h1>,
      destination
    )
  </script>
</body>
</html>